package com.ktjy.mapper;

import com.ktjy.pojo.Concert;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConcertMapper {

    public List<Concert> selectConcert(@Param("concertName") String concertName,
                                            @Param("pageBegin") Integer pageBegin,
                                            @Param("pageSize") Integer pageSize);

    public int count(@Param("concertName") String concertName);

    public int insertConcert(Concert concert);
    public Concert selectConcertById(@Param("concertId") Integer concertId);

    public int updateConcert(Concert concert);

    public int deleteConcert(@Param("concertId") Integer concertId);
}
